package com.api.syh56.shengyunhui.service;

import com.api.syh56.shengyunhui.entity.dto.WaybillUpdateDTO;
import com.api.syh56.shengyunhui.entity.vo.WAGParamVO;
import com.api.syh56.shengyunhui.entity.adminEntity.WaybillRoute;
import com.api.syh56.shengyunhui.entity.vo.WaybillDetailVO;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

public interface AdminWayBillService {
    Page<WAGParamVO> select(Integer pageNum, Integer pageSize, String waybillNum, String waybillStatus, String oriCity, String desCity, String goodsName, String shipCompany, String driverCompany);

    void delete(Long id);

    void updateById(WaybillUpdateDTO waybillUpdateDTO);

    List<WaybillRoute> getRouteByWid(Long wid);

    List<WaybillRoute> getRouteByWidN(Long wid);

    Page<WaybillDetailVO> getWaybill(Integer pageNum, Integer pageSize);
}
